<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<html>
<head>
    <title>管理员界面</title>
</head>
<body>
<span style="color: black">欢迎管理员${name}</span><br/>
<table border="1">
    <tr>
        <td>id</td>
        <td>name</td>
        <td>classes</td>
        <td>op</td>
    </tr>
    <c:forEach items="${stu}" var="stu">
        <tr>
            <td>${stu.id}</td>
            <td>${stu.name}</td>
            <td>${stu.classes}</td>
            <td>
                <a href="editServlet?id=${stu.id}&op=editServlet">编辑</a>
                <a href="StuDelController?id=${stu.id}&op=StuDelController">删除</a>
            </td>
        </tr>
    </c:forEach>
</table>
</body>
</html>